package com.zengqingfa.springboot.redis.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @Author: slfx
 * @Date: 2022-10-28
 * @Description:
 **/
@Data
@ApiModel(value = "Dictionary对象", description = "数据字典")
public class Dictionary implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("创建用户")
    private String createUserCode;

    @ApiModelProperty("修改用户")
    private String updateUserCode;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("数据状态,0正常,1删除")
    private Integer deleteFlag;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("数据版本")
    private Integer version;

    @ApiModelProperty("字典编码")
    private String dictCode;

    @ApiModelProperty("字典名称")
    private String dictName;

    @ApiModelProperty("字典类型")
    private Integer type;

    @ApiModelProperty("租户编码(如果为空,则认为是商业平台租户创建的)")
    private String tenantCode;

    @ApiModelProperty("应用编码")
    private String applicationCode;

    @ApiModelProperty("是否启用.0:否，1:是")
    private Integer enableFlag;


}
